<script setup>
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import { useUserStore } from './stores';
onBeforeUnmount(async () => {
  await useUserStore().removeUserInfo()
});
</script>

<template>
  <el-config-provider :locale="zhCn">
    <router-view />
  </el-config-provider>
</template>

